using System;

namespace OFX.Aggregator.WebScraping.Infrastructure
{
	public class AssumptionFailedException : Exception
	{
		public AssumptionFailedException(IHtmlPageProcessor processor, string message)
			: base(message)
		{
			Processor = processor;
		}

		public AssumptionFailedException(IHtmlPageProcessor processor, string message, Exception innerException)
			: base(message, innerException)
		{
			Processor = processor;
		}

		public IHtmlPageProcessor Processor { get; set; }
	}
}